package cn.wolfcode.luowowo.common.query;

import lombok.Getter;
import lombok.Setter;
import org.springframework.util.StringUtils;

/**
 * Created by sunzhan on 2019/11/24.
 */
@Getter
@Setter
public class DestinationProQuery extends QueryObject {
    //月份
    private String month;
    //主题
    private String theme;
    //? - ?天
    private String days;

    public String getDays() {
        return StringUtils.hasLength(days) ? days : null;
    }

    public String getMonth() {
        return StringUtils.hasLength(month) ? month : null;
    }

    public String getTheme() {
        return StringUtils.hasLength(theme) ? theme : null;
    }
}
